package cn.ssm.mappers;

import cn.ssm.pojo.Provider;

import java.util.List;

public interface ProviderMapper {
    //查询所有供应商
    public List<Provider> selectAll(Provider provider);
    //根据id查询供应商
    public Provider selectById(Integer pid);
    //添加供应商
    public Integer save(Provider provider);
    //修改供应商
    public Integer update(Provider provider);
    //删除供应商
    public Integer delete(Integer pid);

}
